package com.ethink.order.api.request;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * TOB销售结算单 新增请求对象
 *
 * @author default
 * @date 2022-11-17
 */
@Data
public class TobSaleSettlementOrderAddRequest {

    @Schema(description ="制单号",hidden = true)
    private String orderNo;

    @Schema(description ="枚举 制单状态:1-待匹配(s1)|2-已匹配(s2)",hidden = true)
    private Integer orderStatus;

    @Schema(description ="订单来源")
    private String saleChannel;

    @Schema(description ="订单来源下级")
    private String saleSubChannel;

    @Schema(description ="制单人账号",hidden = true)
    private String createUserCode;

    @Schema(description ="制单人名称",hidden = true)
    private String createUserName;

    @Schema(description = "订单说明")
    private String remark;

    @NotEmpty
    @Schema(description = "商品信息")
    private List<TobSaleSettlementDetailOrderAddRequest> item;

}
